<!-- 页头区域 -->
<nav th:fragment="navbar" class="main-header navbar navbar-expand navbar-white navbar-light">
    <!-- 顶部左侧的导航栏 -->
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
        </li>
        <li class="nav-item d-none d-sm-inline-block">
            <a th:href="${#httpServletRequest.getContextPath()}" class="nav-link">后台首页</a>
        </li>
        <li class="nav-item d-none d-sm-inline-block">
            <a target="_blank" th:href="@{'/'}" class="nav-link">博客首页</a>
        </li>
    </ul>

    <!-- 顶部右侧的导航栏 -->
    <ul class="navbar-nav ml-auto">
<!--        <li class="nav-item">-->
<!--            <a target="_blank" href='https://gitee.com/LinZhaoguan/pb-cms'><img src='https://gitee.com/LinZhaoguan/pb-cms/widgets/widget_6.svg' alt='Fork me on Gitee' /></a>-->
<!--        </li>-->
        <!-- 消息 下拉菜单 -->
<!--        <li class="nav-item dropdown">-->
<!--            <a class="nav-link" data-toggle="dropdown" href="#">-->
<!--                <i class="far fa-comments"></i>-->
<!--                <span class="badge badge-danger navbar-badge">3</span>-->
<!--            </a>-->
<!--            <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">-->
<!--                <a href="#" class="dropdown-item">-->
<!--                    &lt;!&ndash; Message Start &ndash;&gt;-->
<!--                    <div class="media">-->
<!--                        <img th:src="@{admin/plugins/adminlte/img/user3-128x128.jpg}" alt="User Avatar"-->
<!--                             class="img-size-50 mr-3 img-circle">-->
<!--                        <div class="media-body">-->
<!--                            <h3 class="dropdown-item-title">-->
<!--                                Brad Diesel-->
<!--                                <span class="float-right text-sm text-danger"><i class="fas fa-star"></i></span>-->
<!--                            </h3>-->
<!--                            <p class="text-sm">Call me whenever you can...</p>-->
<!--                            <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    &lt;!&ndash; Message End &ndash;&gt;-->
<!--                </a>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item">-->
<!--                    &lt;!&ndash; Message Start &ndash;&gt;-->
<!--                    <div class="media">-->
<!--                        <img th:src="@{admin/plugins/adminlte/img/user8-128x128.jpg}" alt="User Avatar"-->
<!--                             class="img-size-50 img-circle mr-3">-->
<!--                        <div class="media-body">-->
<!--                            <h3 class="dropdown-item-title">-->
<!--                                John Pierce-->
<!--                                <span class="float-right text-sm text-muted"><i class="fas fa-star"></i></span>-->
<!--                            </h3>-->
<!--                            <p class="text-sm">I got your message bro</p>-->
<!--                            <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    &lt;!&ndash; Message End &ndash;&gt;-->
<!--                </a>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item">-->
<!--                    &lt;!&ndash; Message Start &ndash;&gt;-->
<!--                    <div class="media">-->
<!--                        <img th:src="@{admin/plugins/adminlte/img/user4-128x128.jpg}" alt="User Avatar"-->
<!--                             class="img-size-50 img-circle mr-3">-->
<!--                        <div class="media-body">-->
<!--                            <h3 class="dropdown-item-title">-->
<!--                                Nora Silvester-->
<!--                                <span class="float-right text-sm text-warning"><i class="fas fa-star"></i></span>-->
<!--                            </h3>-->
<!--                            <p class="text-sm">The subject goes here</p>-->
<!--                            <p class="text-sm text-muted"><i class="far fa-clock mr-1"></i> 4 Hours Ago</p>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    &lt;!&ndash; Message End &ndash;&gt;-->
<!--                </a>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item dropdown-footer">See All Messages</a>-->
<!--            </div>-->
<!--        </li>-->
        <!-- 通知 下拉菜单 -->
<!--        <li class="nav-item dropdown">-->
<!--            <a class="nav-link" data-toggle="dropdown" href="#">-->
<!--                <i class="far fa-bell"></i>-->
<!--                <span class="badge badge-warning navbar-badge">15</span>-->
<!--            </a>-->
<!--            <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">-->
<!--                <span class="dropdown-header">15 Notifications</span>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item">-->
<!--                    <i class="fas fa-envelope mr-2"></i> 4 new messages-->
<!--                    <span class="float-right text-muted text-sm">3 mins</span>-->
<!--                </a>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item">-->
<!--                    <i class="fas fa-users mr-2"></i> 8 friend requests-->
<!--                    <span class="float-right text-muted text-sm">12 hours</span>-->
<!--                </a>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item">-->
<!--                    <i class="fas fa-file mr-2"></i> 3 new reports-->
<!--                    <span class="float-right text-muted text-sm">2 days</span>-->
<!--                </a>-->
<!--                <div class="dropdown-divider"></div>-->
<!--                <a href="#" class="dropdown-item dropdown-footer">See All Notifications</a>-->
<!--            </div>-->
<!--        </li>-->
        <li class="nav-item">
            <a class="nav-link" data-widget="control-sidebar" data-slide="true" href="#" role="button"><i
                    class="fas fa-th-large"></i></a>
        </li>
        <!-- 系统 下拉菜单 -->
        <li class="nav-item dropdown">
            <a id="dropdownSubMenu1" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link dropdown-toggle">系统</a>
            <ul aria-labelledby="dropdownSubMenu1" class="dropdown-menu border-0 shadow">
                <li><a data-toggle="modal" data-target="#changePasswordModal" onclick="Core.load('#changePasswordFormContent', '/user/changePassword')"class="dropdown-item">修改密码</a></li>
                <li><a th:href="${'/logout'}" class="dropdown-item">退出登录</a></li>
            </ul>
        </li>
    </ul>
</nav>
